import ExamMaintain from './exammaintain.vue'
import MaintainResult from './maintainresult.vue'
import MaintainResultSearch from './maintainResultSearch.vue'
import MaintainResultView from './maintainResultView.vue'
import Maintainitem from './maintainitem.vue'
import MaintainitemView from './maintainitemView.vue'
import MaintainitemEdit from './maintainitemEdit.vue'

const components = [
  ExamMaintain,
  MaintainResult,
  MaintainResultSearch,
  MaintainResultView,
  Maintainitem,
  MaintainitemView,
  MaintainitemEdit
]

const main = {
  install(Vue) {
    components.map((component) => {
      Vue.component(component.name, component)
    })
  }
}

export default main
